package com.cskaoyan.bean.wx_home_index;

import com.cskaoyan.bean.market.Category;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: WD created on 2021-09-18 17:02
 * @Version:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InnerChannel {
    private Integer id;
    private String name;
    private String iconUrl;

    public InnerChannel(Category category) {
        this.id = category.getId();
        this.name = category.getName();
        this.iconUrl = category.getIconUrl();


    }
}
